/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dao;

import core.Work;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Dominik
 */
@Local
public interface IWork {
    
    public void createWork(Work a);

    void updateWork(Work a);

    void deleteWork(Work a);

    public Work findWork(int aId);

    public Work findWork(String username);

    public List<Work> findAllWorks();
}
